WPQT\Automation\AutomationService C

Total Complexity 108
Dependencies 3
Dependents 1
Total lines 915
Lines of code 542
Logical lines of code 267
Comment lines 243
Methods 37
Properties 0

Methods 37

Method Rating Maintainability Complexity Lines of code
executeAutomation()
D
17
45 294
processAutomations()
A
44 6 47
handleAutomations()
S
49 4 32
handleSeatregTaskCreation()
S
51 3 26
createAutomation()
S
52 3 24
deleteAutomation()
S
59 3 15
isAssignUserAction()
S
71 3 5
updateAutomationActiveState()
S
61 2 12
isTaskAttachmentAddedEmailAction()
S
78 2 3
isSlackMessageAction()
S
78 2 3
isArchiveTaskAction()
S
79 2 3
isTaskAttachmentDeletedEmailAction()
S
78 2 3
isNewEntityEmailAction()
S
78 2 3
isTaskPrivateCommentAddedEmailAction()
S
78 2 3
isTaskPublicCommentAddedEmailAction()
S
78 2 3
isTaskUnassignedEmailAction()
S
78 2 3
isTaskAssignedEmailAction()
S
78 2 3
isDeletedEntityEmailAction()
S
78 2 3
isSeatregNewBookingTrigger()
S
80 1 3
getAutomationFailedLogMessage()
S
75 1 3
getAutomationLogMessage()
S
77 1 3
isSeatregBookingPendingViaManagerTrigger()
S
80 1 3
isSeatregBookingPendingTrigger()
S
80 1 3
isSeatregBookingApprovedViaManagerTrigger()
S
80 1 3
isSeatregBookingApprovedTrigger()
S
80 1 3
isTaskUnassignedTrigger()
S
80 1 3
isWoocommerceNewOrderTrigger()
S
80 1 3
isTaskAttachmentDeletedTrigger()
S
80 1 3
isTaskAttachementAddedTrigger()
S
80 1 3
isTaskPrivateCommentAddedTrigger()
S
80 1 3
isTaskPublicCommentAddedTrigger()
S
80 1 3
isTaskAssignedTrigger()
S
80 1 3
isTaskDeletedTrigger()
S
80 1 3
isTaskNotDoneTrigger()
S
80 1 3
isTaskDoneTrigger()
S
80 1 3
isTaskCreateAction()
S
80 1 3
isTaskCreatedTrigger()
S
80 1 3